//
//  EMShoppingCartCell.m
//  ElectronicMall
//
//  Created by 史伟文 on 14/12/23.
//  Copyright (c) 2014年 cczu. All rights reserved.
//

#import "EMShoppingCartCell.h"

@implementation EMShoppingCartCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.isChoosed = YES;
        // Initialization code
        NSArray *arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"EMShoppingCartCell" owner:self options: nil];
        if(arrayOfViews.count < 1){
            return nil;
        }
        if(![[arrayOfViews objectAtIndex:0] isKindOfClass:[UITableViewCell class]]){
            return nil;
        }
        self = [arrayOfViews objectAtIndex:0];
    }
    
    self.originPrice.textColor = [UIColor greenColor];
    
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
